<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">

<head th:include="css :: css">
</head>
<link href="/js/jquery.icheck/skins/square/blue.css" rel="stylesheet">
<style>
    .fixed-table-toolbar .bs-bars, .fixed-table-toolbar .search, .fixed-table-toolbar .columns {
        margin-top: -70px;
    }
</style>
<body style="overflow: hidden;opacity: 1">

<div id="cl-wrapper" style="padding-top: 0">
    <div class="container-fluid" id="pcont">
        <div class="cl-mcont">
            <div class="row">
                <div class="col-md-12">
                    <div class="block-flat">
                        <form class="form-horizontal group-border-dashed" id="ipQueryFrom">
                            <div class="form-group">
                                <div class="input-group">
                                    <input type="text" class="form-control" placeholder="号码/IP" id="accountOrIp" name="accountOrIp"/>
                                </div>
                                <div class="input-group">
                                    <select class="form-control" id="type" name="type">
                                        <option value="SUP_RNO">号码</option>
                                        <option value="SUP_RIP">IP</option>
                                    </select>
                                </div>

                                <div class="input-group">
                                    <button class="btn btn-primary" type="button" id="search"><i
                                            class="fa fa-search"></i>查询
                                    </button>
                                    &nbsp;
                                    <button class="btn btn-danger btn-operation" type="button"
                                            id="removeBlackList"><i class="fa fa-trash"></i> 删除
                                    </button>
                                    &nbsp;
                                    <button class="btn btn-success btn-operation" type="button"
                                            id="createIpBlack"><i class="fa fa-plus-square-o"></i> 新增
                                    </button>
                                    &nbsp;
                                    <!--<button class="btn btn-default" type="button" id="export"><i-->
                                            <!--class="fa fa-download"></i> 导出-->
                                    <!--</button>-->
                                </div>
                            </div>
                        </form>
                    </div>
                    <div class="block-flat">
                        <div class="content">
                            <div class="table-responsive">
                                <table data-classes="table table-hover table-condensed"
                                       id="dataTable"
                                       data-mobile-responsive="true" data-detail-formatter="detailFormatter">
                                </table>

                            </div>
                        </div>
                    </div>
                </div>

            </div>
        </div>
        <div class="modal fade" id="ipBlackModal" tabindex="-1" role="dialog">
            <div class="modal-dialog" role="document" style="width:800px;">
                <div class="modal-content">
                    <div class="modal-header">
                        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span
                                aria-hidden="true">&times;</span></button>
                        <h4 class="modal-title">新增IP黑名单</h4>
                    </div>
                    <div class="modal-body" style="min-height: 90px;">
                        <form class="form-horizontal" role="form" id="ipBlackFrom">
                            <div class="col-sm-6">
                                <div class="form-group">
                                    <label for="ip" class="col-sm-4 control-label"><span
                                            class="text-danger"></span>IP:</label>
                                    <div class="col-sm-7">
                                        <input type="text" class="form-control" style=" width: 270px;"
                                               id="ip" name="ip">
                                    </div>
                                </div>
                            </div>

                        </form>
                    </div>
                    <div class="modal-footer">
                        <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                        <button type="button" class="btn btn-primary" id="createIpBlackSubmit">确定</button>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<div th:include="js :: js"></div>
<script type="text/javascript" th:attr="src=@{/js/jquery.form.js}"></script>
<script type="text/javascript" th:attr="src=@{/js/jquery.parser.js}"></script>
<script type="text/javascript" src="js/jquery.icheck/icheck.min.js"></script>
<script type="text/javascript" src="/js/pageJs/memberManage/registerBlackList.js?deVersion=20181701053"></script>
</body>
</html>
